﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Vehicle_Infor_Update.aspx.cs" Inherits="IYAKASAPortal.InfoEnter.Vehicle_Infor_Update" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>机动车牌证申请表</title>
    <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <link type="text/css" rel="Stylesheet" href="../support/tfNiceTable/tfNiceTable.css" />
    <script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
    <script src="../script/wfPrint.js" type="text/javascript" ></script>
</head>
<body style="overflow-y: auto">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <Triggers><asp:PostBackTrigger ControlID="btnPrint" /></Triggers>
            <ContentTemplate>
                <asp:HiddenField runat="server" ID="hidID" />
                 <asp:HiddenField runat="server" ID="hidKeyValue" />
                <table border="0" width="100%" cellpadding="0" cellspacing="0" style="height: 25px; table-layout: fixed">
                    <tr>
                        <td class="main_title_left"></td>
                        <td class="main_title_center" style="text-align: left">&nbsp;成都弥荣科技发展有限公司--机动车牌证申请表</td>
                        <td class="main_title_right"></td>
                    </tr>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
                    <tr>
                        <td align="center">
                            <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable" style="table-layout: auto">
                                <thead>
                                    <tr class="tfNiceTable_head_style">
                                        <td colspan="4" align="left">★机动车牌证申请表</td>
                                    </tr>
                                </thead>
                                <tbody style="background-color: white;" >
                                    <tr>
                                        <td align="right" style="width: 15%">检验流水号：</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtJCLSH" runat="server" Width="250px" CssClass="csstextbox" TabIndex="5"></asp:TextBox>
                                            </td>
                                        <td align="right" style="width: 15%">&nbsp;</td>
                                        <td align="left" style="width: 35%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">车辆号码</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtHPHMStart" runat="server" CssClass="csstextboxreadonly toUpper" ReadOnly="true" Text="" Width="20px"></asp:TextBox>
                                            <asp:TextBox ID="txtHPHM" runat="server" CssClass="csstextboxreadonly toUpper" ReadOnly="true" TabIndex="1" Width="100px"></asp:TextBox>
                                            <span style="color: red">*</span> </td>
                                        <td align="right" style="width: 15%">号牌种类</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpHPZL" runat="server" Enabled="false">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 8%">车主姓名/名称</td>
                                        <td align="left" style="width: 25%">
                                            <asp:TextBox ID="txtOwner" runat="server"  ReadOnly ="true" CssClass="csstextboxreadonly" TabIndex="3" Width="300px"></asp:TextBox>
                                            </td>
                                        <td align="right">车主电话</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtPhone" runat="server" CssClass="csstextbox" TabIndex="5"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">车主住址</td>
                                        <td align="left" >
                                            <asp:TextBox ID="txtAddress" runat="server"  CssClass ="csstextbox" Width="300px" TabIndex="4"></asp:TextBox></td>
                                         <td align="right">邮政编码</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtYZBH" runat="server" CssClass="csstextbox" TabIndex="5"></asp:TextBox>
                                        </td>
                                    </tr>
                                   
                                    <tr>
                                        <td align="right">代理人姓名/名称</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtDLRMC" runat="server" CssClass="csstextbox" TabIndex="3" Width="300px"></asp:TextBox>
                                        </td>
                                        <td align="right">代理人电话</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtDLRDH" runat="server" CssClass="csstextbox" TabIndex="5"></asp:TextBox>
                                        </td>
                                    </tr>
                                   
                                    <tr>
                                        <td align="center" colspan="4" class="auto-style1">
                                            <asp:Button runat="server" ID="btnSave" CssClass="btnSaveEnabled"  Text="" OnClick="btnSave_Click" />&nbsp;
                                                <asp:Button runat="server" ID="btnPrint" Text="" CssClass="btnPrintEnabled" OnClientClick="return confirm('确定要打印当前申请表吗?');doAjaxShow();"  OnClick="btnPrint_Click"  />&nbsp;
                                            <asp:Button runat="server" CssClass="btnSetUp" ID="btnSetUp" OnClientClick="SetUpPrinter()" />
                                            </td>
                                    </tr>
                                              <tr>
                                        <td align="center" colspan="4" class="auto-style1">
                                       
                                                <asp:Button runat="server" ID="btnPrintC" Text="" CssClass="btnPrintEnabled" OnClientClick="return confirm('确定要打印当前申请表吗?');doAjaxShow();"  OnClick="btnPrintC_Click"  />&nbsp; &nbsp;

                                            </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
<script type="text/javascript">
    function SetUpPrinter()
    {
        var objPrint = document.getElementById('wfPrintOcx1');
        objPrint.wfPrintName = 'Invoice';
        objPrint.wfSelectPrinterDialog();
    }

</script>